package com.fbee.smartcommunities.service;

import com.fbee.smartcommunities.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;
import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 汪佳泉
 * @since 2024-08-27
 */
public interface ShopService extends IService<Shop> {

    Shop getShopInfoByUid(Long uid);

    Boolean updateShopInfo(Long id,String name, String description, String address, String phone, MultipartFile file) throws ServerException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;

}
